This forum is closed to new posts and
responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:
RE: Can't connect to SQL via ODBC ~Yentl Kifreeterynds 19.Jan.04 02:02 PM a Web browser Domino Designer 6.0.1 CF1Windows 2000
Hi,
Try this.....
"Sub Click(Source As Button)
Dim ws As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = ws.CurrentDocument
Dim con As New ODBCConnection
Dim qry As New ODBCQuery
Dim result As New ODBCResultSet
Set qry.Connection = con
Set result.Query = qry
If con.ConnectTo("ODBC","username", "password"Then
qry.SQL = "Query"
result.Execute
If result.Execute Then
action
End If "